projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb18bc5
)
(shell-command-on-region): Start of region to keep is
author
Karl Heuer
<kwzh@gnu.org>
Tue, 30 Apr 1996 03:21:44 +0000
(
03:21
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Tue, 30 Apr 1996 03:21:44 +0000
(
03:21
+0000)
min of endpoints, not max.
lisp/simple.el
patch
|
blob
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index 5617efa773dbce319c75839b38cbfeccd440e4a2..829f39083d69e7688dec5d30b78c69912f3f12c3 100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-894,7
+894,7
@@
In either case, the output is inserted after point (leaving mark after it)."
;; then replace that region with the output.
(progn (setq buffer-read-only nil)
(delete-region (max start end) (point-max))
- (delete-region (point-min) (m
ax
start end))
+ (delete-region (point-min) (m
in
start end))
(call-process-region (point-min) (point-max)
shell-file-name t t nil
shell-command-switch command)